cordova.define("com.waiqin365.h5.titlebar.wqtitlebar", function(require, exports,
				module) {
			module.exports = new WqTitleBar();
			/**
			 * This represents the mobile App, and provides properties for
			 * inspecting the model, version, UUID of the phone, etc.
			 * 
			 * @constructor
			 */
			function WqTitleBar() {

			}

			var exec = require('cordova/exec');
			var utils = require('cordova/utils');

			WqTitleBar.prototype.setTitleBar = function(successCallback,
					errorCallBack, json) {
				exec(successCallback, errorCallBack, "WqTitleBar", "wqTitleBar", [json]);
			}
			WqTitleBar.prototype.setSearchTitleBar = function(successCallback, json) {
				exec(successCallback, null, "WqSearchBar", "wqSearchBar", [json]);
			}

		}
);
